package cn.yuanqiao.archive.api.service;

import cn.yuanqiao.archive.api.domain.ReceiveRecord;

import java.util.List;


/**
 * 接收记录Service接口
 *
 * @author xy
 * @date 2025-01-17
 */
public interface IReceiveRecordService
{
    /**
     * 查询接收记录
     *
     * @param id 接收记录主键
     * @return 接收记录
     */
    public ReceiveRecord selectReceiveRecordById(Long id);

    /**
     * 查询接收记录列表
     *
     * @param receiveRecord 接收记录
     * @return 接收记录集合
     */
    public List<ReceiveRecord> selectReceiveRecordList(ReceiveRecord receiveRecord);

    /**
     * 新增接收记录
     *
     * @param receiveRecord 接收记录
     * @return 结果
     */
    public int insertReceiveRecord(ReceiveRecord receiveRecord);

    /**
     * 修改接收记录
     *
     * @param receiveRecord 接收记录
     * @return 结果
     */
    public int updateReceiveRecord(ReceiveRecord receiveRecord);

    /**
     * 批量删除接收记录
     *
     * @param ids 需要删除的接收记录主键集合
     * @return 结果
     */
    public int deleteReceiveRecordByIds(Long[] ids);

    /**
     * 删除接收记录信息
     *
     * @param id 接收记录主键
     * @return 结果
     */
    public int deleteReceiveRecordById(Long id);
}
